how to check npn or pnp transistor